"Diagnostic Policy Service" does not start
Win 7 7600.16385.090713-1255_x86fre_client_en-us_Retail_Ultimate
SHA1: 5395DC4B38F7BDB1E005FF414DEEDFDB16DBF610
ISO/CRC: C1C20F76
installed on pre formated single partition C: \ 40 GB
Everything was .. during the first two days after installing all the updates.
In EventViewer - no mistakes (I view the logs always immediately after loading)
I noticed a significant drop in system performance 03.01.2010 at the beginning of the sixth hour AM.
I looked ProcessExplorer - Trustedinstaller 70% took under itself.
Well, I think, nothing unusual - system again silent updated.
But Trustedinstaller worked for something unusually long time - about 5 min. Once this process completed and disappeared from ProcessExplorer - all worked fine again.
But error appeared in EventViewer after the next reboot.
Log Name: System
Source: Service Control Manager
Date: 03.01.2010 9:15:34
Event ID: 7023
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: GA7VTXE
Description:
The Diagnostic Policy Service service terminated with the following error:
Access is denied.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7023</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2010-01-03T03:15:34.171875000Z" />
<EventRecordID>2770</EventRecordID>
<Correlation />
<Execution ProcessID="560" ThreadID="684" />
<Channel>System</Channel>
<Computer>GA7VTXE</Computer>
<Security />
</System>
<EventData>
<Data Name="param1">Diagnostic Policy Service</Data>
<Data Name="param2">%%5</Data>
</EventData>
</Event>
I have tried manually start the "Diagnostic Policy Service" from the "Services" console - error "Windows could not start the Diagnostic Policy Service service on Local Computer.Error 5: Access is denied."
Also do not run:
Diagnostic System Host - "Start" and "Stop" buttons in general unavailable - "Greyed".
Diagnostic Service Host - "Start" and "Stop" buttons in general unavailable - "Greyed".
The following updates were installed automatically by the system before this happened 03.01.2010:
Definition Update for Microsoft Security Essentials - KB972696 (Definition 1.71.1637.0) 03. 01. 2010 4:06
Security Update for Microsoft Visual C + + 2005 Service Pack 1 Redistributable Package (KB973923) 03.01.2010 4:42
CXT - Network - PCI SoftV92 Data Fax Modem 03.01.2010 4:42
Realtek Semiconductor Corp. - Network - Realtek RTL8139/810x Family Fast Ethernet NIC 03.01.2010 4:43
Definition Update for Microsoft Security Essentials - KB972696 (Definition 1.71.1642.0) 03.01.2010 5:34
I tried uninstall them sequentially one by one - unsuccessfully.
I found KB943996 "Some services do not start in Windows Vista"
Like KB offered - i elevated MpsSvc's (Firewall) permissions for
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ DPS \ Parameters from "Read" to "Full Control", "Read" - unsuccessfully.
And in general it seems not Firewall's problem, because even when Firewall completely stopped - these three services do not start.
I was thinking WdiServiceHost (which is using by DPS in the Local Service context) does not have sufficient access permissions to the scenario WDI ( in general WdiServiceHost no among the users of this infrastructure initially ) and i added this service with maximum permissions for HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ WDI - unsuccessfully.
How can that be? I am at a loss. In the beginning it all worked fine ...
I have no desire re-install system, because I installed already necessary software package to me, and this day of work.
Does anyone have any opinions?
January 9th, 2010 1:49pm
one - unsuccessfully.
I found KB943996 "Some services do not start in Windows Vista"
Like KB offered - i elevated MpsSvc's (Firewall) permissions for
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ DPS \ Parameters from "Read" to "Full Control", "Read" - unsuccessfully.
And in general it seems not Firewall's problem, because even when Firewall completely stopped - these three services do not start.
I was thinking WdiServiceHost (which is using by DPS in the Local Service context) does not have sufficient access permissions to the scenario WDI ( in general WdiServiceHost no among the users of this infrastructure initially ) and i added this service with maximum permissions for HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ WDI - unsuccessfully.
How can that be? I am at a loss. In the beginning it all worked fine ...
I have no desire re-install system, because I installed already necessary software package to me, and this day of work.
Does anyone have any opinions?
k, um http://forums.techarena.in/vista-security/914686.htm has lots of opinions. My only one was you gotta get out of a domain and into a workgroup, or use the domain administrative system. They said it lots better.
Free Windows Admin Tool Kit Click here and download it now
January 9th, 2010 7:46pm
Thnx Chitbill. I read a thread on your link - it's not my case.
My network is not part of the domain, and has the configuration of the workgroup.
Anyway - thanks for participating. Any opinions?
January 10th, 2010 1:35pm
A guy wrote Microsoft asking about this, and a dialog or two later he said he was tired of trying to troubleshoot it and reinstalled, and the answer came back "Glad to see you solved your problem, have a nice day". Another guy writes that he spent four days trying to solve it and decided it was his video-card driver. He updated the driver.Sorry I couldn't be more help, but then again I stand in the company of those who tried and failed to answer this very difficult problem.
Free Windows Admin Tool Kit Click here and download it now
January 11th, 2010 6:46am
Let’s disable all startup items and third party services when booting. This method will help us determine if this issue is caused by a loading program or service. Please perform the following steps:
1. Click the Start Button type "msconfig" (without quotation marks) in the Start Search box, and then press Enter.
Note: If prompted, please click Continue on the User Account Control (UAC) window. 2. Click the "Services" tab, check the "Hide All Microsoft Services" box and click "Disable All" (if it is not gray). 3. Click the "Startup" tab, click "Disable All" and click "OK".
Then, restart the computer. When the "System Configuration Utility" window appears, please check the "Don't show this message or launch the System Configuration Utility when Windows starts" box and click OK. Please try to enable the service. If the issue persists, I suspect that related Registry values or system files are lost. Please try to repair from Registry first.
1. Open Notepad. 2. Copy the following contents into Notepad.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\DPS]"DisplayName"="@%systemroot%\\system32\\dps.dll,-500""ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\ 74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\ 00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\ 6b,00,20,00,4c,00,6f,00,63,00,61,00,6c,00,53,00,65,00,72,00,76,00,69,00,63,\ 00,65,00,4e,00,6f,00,4e,00,65,00,74,00,77,00,6f,00,72,00,6b,00,00,00"Description"="@%systemroot%\\system32\\dps.dll,-501""ObjectName"="NT AUTHORITY\\LocalService""ErrorControl"=dword:00000001"Start"=dword:00000002"Type"=dword:00000020"ServiceSidType"=dword:00000003"RequiredPrivileges"=hex(7):53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,\ 00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,\ 67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,47,00,6c,\ 00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,\ 65,00,00,00,53,00,65,00,41,00,73,00,73,00,69,00,67,00,6e,00,50,00,72,00,69,\ 00,6d,00,61,00,72,00,79,00,54,00,6f,00,6b,00,65,00,6e,00,50,00,72,00,69,00,\ 76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,65,\ 00,72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,\ 6c,00,65,00,67,00,65,00,00,00,00,00"FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\ 00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00"DelayedAutoStart"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\DPS\Parameters]"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\ 00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\ 64,00,70,00,73,00,2e,00,64,00,6c,00,6c,00,00,00"ServiceMain"="ServiceMain""ServiceDllUnloadOnStop"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\DPS\Security]"Security"=hex:01,00,14,80,8c,00,00,00,98,00,00,00,14,00,00,00,30,00,00,00,02,\ 00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\ 00,00,02,00,5c,00,04,00,00,00,00,00,14,00,ff,01,0f,00,01,01,00,00,00,00,00,\ 05,12,00,00,00,00,00,18,00,ff,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,\ 20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,04,00,00,00,00,\ 00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,06,00,00,00,01,01,00,00,00,00,\ 00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
3. Save the file to Desktop with the name DPS.reg.4. Double-click on DPS.reg on Desktop. It will prompt that the task will change your Registry. Please allow the action.
If the above method does not help, you may need to do In-place Upgrade to repair the system to resolve this issue. Generally your personal data and the programs will not lose. However I still suggest that you backup your important data before In-place Upgrade.Arthur Xie - MSFT
January 11th, 2010 12:26pm
Hi Arthur Xie. Thank you for your participation. I have tried disabled all non-Microsoft items. Unsuccessfully. I saved your exported thread HKLM \ SYSTEM \ CurrentControlSet \ services \ DPS and compared with their means TotalComander. http://fgh130.narod.ru/_00_DPS.jpg
Your thread - left panel, my - right.
I found the only difference and it seemed strange to me. You have the "DisplayName" = "@% systemroot% \ \ system32 \ \ dps.dll, -500". Is correct whether this? While this is probably not important - it is just a reference to the string descriptions dps.dll (if I understand correctly) I have the "DisplayName" = "Diagnostic Policy Service". I have a corrected parameter as you "Description" = "@% systemroot% \ \ system32 \ \ dps.dll, -501", however, and rebooted. Unsuccessfully. Unfortunately I turned off restore after installing the system and do not have any restore points now. If I had at least one restore point - I would not write here. Any opinions?
Free Windows Admin Tool Kit Click here and download it now
January 12th, 2010 12:12am
Not sure whether some programs changed this value on your computer. My Registry is from a clean installed system and it works file. If the issue still occurs after you modifying Registry, you may need to do In-place Upgrade to repair system components.Arthur Xie - MSFT
January 14th, 2010 1:18pm
I replaced the value "DisplayName" with my "Diagnostic Policy Service" on your "@%systemroot%\system32\dps.dll,-500" and reboot. Now my "DisplayName" = "@%systemroot%\system32\dps.dll,-500" and does not change after a reboot, but it did not solve my problem - DPS does not start still. I tried to do system restore through Windows 7 32-bit Repair Disc. Restore failed. All tests were completed successfully, "Completed successfully. Error code = 0x0" except the last:
"Startup repair cannot repair this computer automatically, sending more information to microsoft may help create a solution to this problem.
Root cause found:Unspecified changes to system configuration might have caused the problem.
Repair action: System files integrate check and repair.
Result: Failed
Error code = 0x490
Time taken = 1117391 ms."
:-(
Free Windows Admin Tool Kit Click here and download it now
January 14th, 2010 3:14pm
Hi,
Please following steps below.
1. Click Start, type: REGEGIT in the Start Search bar and then press Enter. Click Continue if it prompts.2. Navigate to the following registry key:
HKLM\Software\Microsoft\Windows NT\CurrentVersion
3. Highlight the branch Windows in the left pane. 4. In the right frame we will see the key EditionID. Double click the key. 5. Change the value from "Ultimate" to "Business" and click OK. 6. Exit the Registry Editor.
7. After that registry key is set, put in the Windows 7 installation Media to start the setup process. If you go through the options, it will give an option to upgrade to 7 Ultimate. 8. Select "Upgrade to 7 Ultimate" option and then follow the wizard to complete the in-place upgrade process.Arthur Xie - MSFT
January 15th, 2010 6:46am
Alas, this trick failed. The system understands that it is the Ultimate in spite of the fact that the HKLM \ Software \ Microsoft \ Windows NT \ CurrentVersion \ EditionID = Business, and at the end of the recovery process displays the message:"Windows 7 Ultimate cannot be upgraded to Windows 7 Ultimate. You can chose to install a new copy of Windows 7 Ultimate, but this is different from upgrade, and does not keep your files, settings, and programms. To save your files before installing Windows, back them up to an external location such as a CD, DVD or external hard drive. To install a new copy of Windows 7 Ultimat, click the Back button in the upper left-hand cornner, and select "Custam (advanced)".
:-(
Free Windows Admin Tool Kit Click here and download it now
January 16th, 2010 2:01pm
This is the exact same problem I am having. I went on vacation for a week, came back, booted my PC and the Diagnostics Policy Service is not running. Everything worked fine before I left. I did install SP1 for Windows 7 a few days before I left. I have 3
other computers connected to my home network that work fine.
I have attempted all the suggestions listed above and other suggestions listed on other forums, nothing seems to work. I can't do a restore since the only backup available is from May 7, 2011.
I do have all computers backed up by Windows Server 2003. I can't, however, make a connection to the that server because my Diagnostics Policy Service is not running.
This is an incredibly annoying problem. Does anyone have additional suggestions that I can try?
Operating system is Windows 7 Professional.
May 9th, 2011 4:07pm